﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Mvc.XForms.UI.Settings;
using System.Linq.Expressions;
using System.Web.UI.WebControls;
using Mvc.XForms.Utilities;
using System.Collections.Specialized;

namespace Mvc.XForms.UI {
	public class PagedSortedParameters<T> : PagedSortedParameters {
		public PagedSortedParameters(NameValueCollection collection, string pageIndexKey, string sortExpressionKey, string sortDirectionKey, int pageSize, Expression<Func<T, object>> defaultSort, SortDirection defaultSortDirection)
			: base(collection, pageIndexKey, sortExpressionKey, sortDirectionKey, pageSize, defaultSort.Body.ExtractID(), defaultSortDirection) { }
	}
}